﻿<%@ Register TagPrefix="Common" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<%@ Control Language="c#" AutoEventWireup="false" Inherits="Lx.Web.Common.ControlsUI.BaseControl" %>
<div class="common">
	<div class="submenunew">
		<div class="submenu_l">
			<div class="unsub">
				<div class="unsubsel"><a href="/<%=System.Web.HttpContext.Current.User.Identity.Name %><%=((Lx.Web.Common.UI.TDTPageBase)Page).IsTeacher?"T":"" %>.htm"><%=GetText("M0003")%></a> [
				<%if(Page.Request.RawUrl.ToLower().IndexOf("/my/profile")>-1){%>
				    <a href="/my/profile/personal.htm"><span><strong><%=GetText("C0053")%></strong></span></a> ]</div>
			        <div><img src="/Images/submenu_arrow.gif" /></div>
		        <%} else if(Page.Request.RawUrl.ToLower().IndexOf("my/profile/personal")>-1){%>
		            <strong><%=GetText("C0053")%></strong></span></a> ]</div>
			        <div><img src="/Images/submenu_arrow.gif" /></div>
			    <%}else{ %>
		            <a href="/my/profile/personal.htm"><span><%=GetText("C0053")%></span></a> ]</div>
			        <div><img src="/Images/submenu_arrownone.gif" /></div>
		        <%}%>
			</div>
			<div class="unsub">
				<div class="unsubsel">
				<%if(Page.Request.RawUrl.ToLower().IndexOf("/my/mysessions")>-1) {%>				
				    <strong><span><%=GetText("My Sessions") %></span></strong></div>
				    <div><img src="/Images/submenu_arrow.gif" /></div>
				<%} else{%>
				    <a href="/my/mysessions.htm"><span><%=GetText("My Sessions") %></span></a></div>
				    <div><img src="/Images/submenu_arrownone.gif" /></div>
				<%} %>
			</div>
		<%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsTeacher) {%>
			<div class="unsub">
				<div class="unsubsel">
				<%if(Page.Request.RawUrl.ToLower().IndexOf("/my/mycourses")>-1) {%>
				    <strong><span><%=GetText("My Courses")%></span></strong></div>
				    <div><img src="/Images/submenu_arrow.gif" /></div>
				<%} else{%>
				    <a href="/my/mycourses.htm"><span><%=GetText("My Courses")%></span></a></div>
				    <div><img src="/Images/submenu_arrownone.gif" /></div>
				<%} %>
			</div>
		<%} %>
			<div class="unsub">			    
				<div class="unsubsel">
		        <%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsTeacher) {%>
    		        <%if(Page.Request.RawUrl.ToLower().IndexOf("/my/tfeedback")>-1) {%>
				    <strong><span><%=GetText("My Feedback")%></span></strong></div>
				    <div><img src="/Images/submenu_arrow.gif" /></div>
				    <%} else{%>
				    <a href="/my/tfeedbacks.htm"><span><%=GetText("My Feedback")%></span></a></div>
				    <div><img src="/Images/submenu_arrownone.gif" /></div>
				    <%} %>
		        <%} else{%>
    		        <%if(Page.Request.RawUrl.ToLower().IndexOf("/my/sfeedback")>-1) {%>
				    <strong><span><%=GetText("My Feedback")%></span></strong></div>
				    <div><img src="/Images/submenu_arrow.gif" /></div>
				    <%} else{%>
				    <a href="/my/sfeedback.htm"><span><%=GetText("My Feedback")%></span></a></div>
				    <div><img src="/Images/submenu_arrownone.gif" /></div>
				    <%} %>
		        <%} %>
			</div>
			<div class="unsub">
			    <div class="unsubsel">
				<%if(Page.Request.RawUrl.ToLower().IndexOf("payment/my_finance")>-1) {%>
				    <strong><span><%=GetText("My Finance")%></span></strong></div>
				    <div><img src="/Images/submenu_arrow.gif" /></div>
				<%} else{%>
				    <%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm){%><a href="<%=System.Configuration.ConfigurationManager.AppSettings["PayFinance"] %>"><%}else{ %><a href="#" onclick="NotAffirm()"><%} %><span><%=GetText("My Finance")%></span></a></div>
				    <div><img src="/Images/submenu_arrownone.gif" /></div>
				<%} %>
			</div>
			<div class="cleartm"></div>
		</div>
		<div class="submenu_r"></div>
		<div class="cleartm"></div>
	</div>
</div>